home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr22 / gnplt.zip / 0FAQ < prev    next >
Internet Message Format  |  1993-09-15  |  26KB

  1. From ig25@fg70.rz.uni-karlsruhe.de Mon Sep 13 16:18:32 1993
  2. Return-Path: <info-gnuplot-people-request@wildcat.dartmouth.edu>
  3. Path: uunet!noc.near.net!howland.reston.ans.net!xlink.net!rz.uni-karlsruhe.de!fg70.rz.uni-karlsruhe.de!ig25
  4. From: ig25@fg70.rz.uni-karlsruhe.de (Koenig)
  5. Newsgroups: comp.graphics.gnuplot,comp.answers,news.answers
  6. Subject: comp.graphics.gnuplot FAQ (Frequent Answered Questions)
  7. Supersedes: <comp-graphics-gnuplot-faq_746677383@fg70.rz.uni-karlsruhe.de>
  8. Followup-To: comp.graphics.gnuplot
  9. Date: 13 Sep 1993 02:23:13 GMT
  10. Organization: University of Karlsruhe, Germany
  11. Lines: 613
  12. Approved: news-answers-request@MIT.Edu
  13. Expires: 11 Oct 1993 02:23:01 GMT
  14. Reply-To: ig25@rz.uni-karlsruhe.de
  15. Nntp-Posting-Host: fg70.rz.uni-karlsruhe.de
  16. Mime-Version: 1.0
  17. Content-Type: text/plain; charset=iso-8859-1
  18. Content-Transfer-Encoding: 8bit
  19. Summary: This is the FAQ (Frequently Answered Questions) list of the
  20.          comp.graphics.gnuplot newsgroup, which discusses the
  21.          gnuplot program for plotting 2D - and 3D - graphs.
  22. Keywords: computer graphics, gnuplot
  23. Xref: uunet comp.graphics.gnuplot:2095 comp.answers:1938 news.answers:12461
  24. Sender: info-gnuplot-request@dartmouth.edu
  25. To: info-gnuplot@dartmouth.edu
  26.  
  27. Archive-name: graphics/gnuplot-faq
  28. Version: $Header: comp-graphics-gnuplot,v 1.24 93/08/31 23:58:52 ig25 Exp $
  29.  
  30. This is the FAQ (Frequently Answered Questions) list of the
  31. comp.graphics.gnuplot newsgroup, which discusses the gnuplot program for
  32. plotting 2D - and 3D - graphs.
  33.  
  34. Most of the information in this document came from public discussion on
  35. comp.graphics.gnuplot; quotations are believed to be in the public
  36. domain.
  37.  
  38. Here's a list of the questions.  If you are looking for the answer for a
  39. specific question, look for the string Qx.x:  at the beginning of a line,
  40. with x.x being the question number.
  41.  
  42. Questions:
  43.  
  44. Section 0: Meta - Questions
  45. Q0.1: Where do I get this document?
  46. Q0.2: Where do I send comments about this document?
  47.  
  48. Section 1: General Information
  49. Q1.1: What is gnuplot?
  50. Q1.2: How did it come about and why is it called gnuplot?
  51. Q1.3: Does gnuplot have anything to do with the FSF and the GNU project?
  52. Q1.4: What does gnuplot offer?
  53. Q1.5: Is gnuplot suitable for batch processing?
  54. Q1.6: Can I run gnuplot on my computer?
  55.  
  56. Section 2: Setting it up
  57. Q2.1: What is the current version of gnuplot?
  58. Q2.2: Where can I get gnuplot?
  59. Q2.3: How do I get gnuplot to compile on my system?
  60. Q2.4: What documentation is there, and how do I get it?
  61.  
  62. Section 3: Working with it
  63. Q3.1: How do I get help?
  64. Q3.2: How do I print out my graphs?
  65. Q3.3: How do I include my graphs in <word processor>?
  66.  
  67. Section 4: Wanted features in gnuplot
  68. Q4.1: Does gnuplot have hidden line removal?
  69. Q4.2: Does gnuplot support bar-charts/histograms/boxes?
  70. Q4.3: Does gnuplot support multiple y-axes on a single plot?
  71. Q4.4: Can I put multiple plots on a single page?
  72. Q4.5: Can I put both data files and commands into a single file?
  73. Q4.6: Can I put Greek letters and super/subscripts into my labels?
  74. Q4.7: Can I do 1:1 scaling of axes?
  75. Q4.8: Can I put tic marks for x and y axes into 3d plots?
  76.  
  77. Section 5: Miscellaneous
  78. Q5.1: I've found a bug, what do I do?
  79. Q5.2: Can I use gnuplot routines for my own programs?
  80. Q5.3: What extensions have people made to gnuplot?  Where can I get them?
  81. Q5.4: Can I do heavy - duty data processing with gnuplot?
  82. Q5.5: I have ported gnuplot to another system, or patched it.  What do I do?
  83.  
  84. Section 6: Making life easier
  85. Q6.1: How do I plot two functions in non - overlapping regions?
  86. Q6.2: How do I run my data through a filter before plotting?
  87. Q6.3: How do I make it easier to use gnuplot with LaTeX?
  88. Q6.4: How do I save and restore my settings?
  89.  
  90. Section 7: Known Problems
  91.  
  92. Q7.1: Gnuplot is not plotting any points under X11!  How come?
  93. Q7.2: My isoline data generated by a Fortran program is not handled
  94.         correctly.  What can I do?
  95. Q7.3: Why does gnuplot ignore my very small numbers?
  96.  
  97. Section 8: Credits
  98.  
  99. Questions and Answers:
  100.  
  101. Section 0: Meta - Questions.
  102.  
  103. Q0.1: Where do I get this document?
  104.  
  105. This document is posted about once every two weeks to the newsgroups
  106. comp.graphics.gnuplot, comp.answers and news.answers.  Like many other
  107. FAQ's, it is available via anonymous ftp from rtfm.mit.edu [18.70.0.224]
  108. >from the directory /pub/usenet/news.answers under the Archive-Name:  at
  109. the top of the article, graphics/gnuplot-faq, and from the directory
  110. /pub/usenet/comp.graphics.gnuplot, as well as via gopher from
  111. gopher.univ-lyon1.fr [134.214.100.25].
  112.  
  113. Q0.2: Where do I send comments about this document?
  114.  
  115. Send comments, suggestions etc. via e-mail to Thomas Koenig,
  116. ig25@rz.uni-karlsruhe.de or ig25@dkauni2.bitnet.
  117.  
  118. Section 1: General Information
  119.  
  120. Q1.1: What is gnuplot?
  121.  
  122. Gnuplot is a command-driven interactive function plotting program.  It
  123. can be used to plot functions and data points in both two- and three-
  124. dimensional plots in many different formats, and will accommodate many
  125. of the needs of today's scientists for graphic data representation.
  126. Gnuplot is copyrighted, but freely distributable; you don't have to pay
  127. for it.
  128.  
  129. Q1.2: How did it come about and why is it called gnuplot?
  130.  
  131. The authors of gnuplot are:
  132.  
  133. Thomas Williams, Colin Kelley, Russell Lang, Dave Kotz, John Campbell,
  134. Gershon Elber, Alexander Woo and many others.
  135.  
  136. The following quote comes from Thomas Williams:
  137.  
  138. I was taking a differential equation class and Colin was taking
  139. Electromagnetics, we both thought it'd be helpful to visualize the
  140. mathematics behind them.  We were both working as sys admin for an EE
  141. VLSI lab, so we had the graphics terminals and the time to do some
  142. coding.  The posting was better received than we expected, and prompted
  143. us to add some, albeit lame, support for file data.
  144.  
  145. Any reference to GNUplot is incorrect.  The real name of the program
  146. is "gnuplot".  You see people use "Gnuplot" quite a bit because many
  147. of us have an aversion to starting a sentence with a lower case
  148. letter, even in the case of proper nouns and titles.  Gnuplot is not
  149. related to the GNU project or the FSF in any but the most peripheral
  150. sense.  Our software was designed completely independently and the
  151. name "gnuplot" was actually a compromise.  I wanted to call it
  152. "llamaplot" and Colin wanted to call it "nplot."  We agreed that
  153. "newplot" was acceptable but, we then discovered that there was an
  154. absolutely ghastly pascal program of that name that the Computer
  155. Science Dept. occasionally used.  I decided that "gnuplot" would make
  156. a nice pun and after a fashion Colin agreed.
  157.  
  158. Q1.3: Does gnuplot have anything to do with the FSF and the GNU project?
  159.  
  160. Gnuplot is neither written nor maintained by the FSF.  It is not covered
  161. by the General Public License, either.
  162.  
  163. However, the FSF has decided to distribute gnuplot as part of the GNU
  164. system, because it is useful, redistributable software.
  165.  
  166. Q1.4: What does gnuplot offer?
  167.  
  168. - Plotting of two - dimensional functions and data points in many different
  169.   styles (points, lines, error bars)
  170. - plotting of three - dimensional data points and surfaces in many
  171.   different styles (contour plot, mesh).
  172. - support for complex arithmetic
  173. - self - defined functions
  174. - support for a large number of operating systems, graphics file formats
  175.   and devices
  176. - extensive on-line help
  177. - labels for title, axes, data points
  178. - command line editing and history on most platforms
  179.  
  180. Q1.5: Is gnuplot suitable for batch processing?
  181.  
  182. Yes.  You can read in files from the command line, or you can redirect
  183. your standard input to read from a file.  Both data and command files
  184. can be generated automatically, from data acquisition programs or
  185. whatever else you use.
  186.  
  187. Q1.6: Can I run gnuplot on my computer?
  188.  
  189. Gnuplot is available for a number of platforms.  These are:  Unix (X11
  190. and NeXTSTEP), VAX/VMS, OS/2, MS-DOS, Amiga, MS-Windows, OS-9/68k and
  191. the Macintosh.  Modifications for NEC PC-9801 are said to exist (where?).
  192. A version for the Atari ST exists at atari.archive.umich.edu, but is
  193. unstable.
  194.  
  195. Section 2: Setting it up
  196.  
  197. Q2.1: What is the current version of gnuplot?
  198.  
  199. The current version of gnuplot is 3.4, patchlevel 4.
  200.  
  201. Q2.2: Where can I get gnuplot?
  202.  
  203. [This information may be dated, due to the release of gnuplot 3.4.
  204. Please report any inaccuracies, if you find them.  Ed.]
  205.  
  206. All of the later addresses refer to ftp sites.  Please note that it is
  207. preferable for you to use the symbolic name, rather than the IP address
  208. given in brackets, because that address is much more subject to change.
  209.  
  210. The official distribution site for the gnuplot source is dartmouth.edu
  211. [129.170.16.4], the file is called /pub/gnuplot/gnuplot.3.4.tar.Z.
  212. Official mirrors of that distribution are (for Australia)
  213. monu1.cc.monash.edu.au [130.194.1.101] and (for Europe) irisa.irisa.fr
  214. [131.254.254.2].  You can also get it from your friendly neighbourhood
  215. comp.sources.misc archive.
  216.  
  217. MS-DOS and MS-Windows binaries are available from oak.oakland.edu (North
  218. America) [141.210.10.117] as pub/msdos/plot/gpt34*.zip, garbo.uwasa.fi
  219. (Europe) [128.214.87.1] as /pc/plot/gpt34*.zip and archie.au (Australia)
  220. [139.130.4.6] as micros/pc/oak/plot/gpt34*.zip.  The files are:
  221. gpt34doc.zip, gpt34exe.zip, gpt34src.zip and gpt34win.zip.
  222.  
  223. OS/2 2.x binaries are at ftp-os2.nmsu.edu [128.123.35.151], in
  224. /os2/2.x/unix/gnu/gplt34.zip .
  225.  
  226. Amiga sources and binaries are available from wuarchive.wustl.edu
  227. [128.252.135.4] as /pub/amiga/aminet/util/gnu/gnuplot-3.4*; there
  228. are numerous mirrors of this distribution.
  229.  
  230. The NeXTSTEP front end can be found at sonata.cc.purdue.edu and
  231. cs.orst.edu.
  232.  
  233. A version for OS-9/68K can be found at cabrales.cs.wisc.edu
  234. [128.105.36.20] as /pub/OSK/GRAPHICS/gnuplot32x.tar.Z; it includes both
  235. X-Windows and non - X-windows versions.
  236.  
  237. A version of gnuplot for the Macintosh is included in the gpcontrb
  238. file, or can be found at wuarchive.wustl.edu [128.252.135.4], in
  239. edu/math/mac/graphingAids, as MacGnuPlot3.2.sea.hqx and
  240. MacGnuPlotPackage3.2.sea.hqx.
  241.  
  242. People without ftp access can use an ftp-mail server; send mail to
  243. bitftp@pucc.bitnet (for BITNET only) or ftpmail@decwrl.dec.com with the
  244. word 'help' in the mail body for more information.
  245.  
  246. It is a good idea to look for a nearby ftp site when downloading things.
  247. You can use archie for this.  See if an archie client is installed at
  248. your system (by simply typing archie at the command prompt), or send
  249. mail to archie@sura.net with the word 'help' in both the subject line
  250. and the body of the mail.  However, be aware that the version you find
  251. at a near ftp site may well be out of date; check the last modification
  252. date and the number of bytes against the newest release at one of the
  253. official servers.
  254.  
  255. Q2.3: How do I get gnuplot to compile on my system?
  256.  
  257. As you would any other installation.  Read the files README and
  258. README.Install, edit the Makefile according to taste, and run make or
  259. whatever is suitable for your operating system.
  260.  
  261. If you get a complaint about a missing file libplot.a or something
  262. similar when building gnuplot for x11, remove -DUNIXPLOT from the
  263. TERMFLAGS= line, remove -lplot from the LIBS= line and run again.  If
  264. you are making x11 on a sun, type 'make x11_sun'.
  265.  
  266. Q2.4: What documentation is there, and how do I get it?
  267.  
  268. The documentation is included in the source distribution.  Look at the
  269. docs subdirectory, where you'll find
  270.  
  271.  - a Unix man page, which says how to start gnuplot
  272.  - a help file, which also can be printed as a manual
  273.  - a tutorial on using gnuplot with LaTeX
  274.  - a quick reference summary sheet for TeX only
  275.  
  276. PostScript copies of the documentation can be ftp'd from dartmouth.edu,
  277. in pub/gnuplot, as manual.ps.Z and tutorial.ps.Z
  278.  
  279.  
  280. Section 3: Working with it
  281.  
  282. Q3.1: How do I get help?
  283.  
  284. Give the 'help' command at the initial prompt.  After that, keep
  285. looking through the keywords.  Good starting points are 'plot'
  286. and 'set'.
  287.  
  288. Read the manual, if you have it.
  289.  
  290. Ask your colleagues, the system administrator or the person who set
  291. up gnuplot.
  292.  
  293. Post a question to comp.graphics.gnuplot or send mail to the gatewayed
  294. mailing list info-gnuplot@dartmouth.edu.  If you want to subscribe to
  295. the mailing list, send mail to info-gnuplot-request@dartmouth.edu,
  296. but please don't do this if you can get comp.graphics.gnuplot directly.
  297. If you pose a question there, it is considered good form to solicit
  298. e-mail replies and post a summary.
  299.  
  300. Q3.2: How do I print out my graphs?
  301.  
  302. The kind of output produced is determined by the 'set terminal' command;
  303. for example, 'set terminal postscript' will produce the graph in
  304. PostScript format.  Output can be redirected using the 'set output'
  305. command.
  306.  
  307. As an example, the following prints out a graph of sin(x) on a Unix
  308. machine running X - Windows.
  309.  
  310. gnuplot> plot [-6:6] sin(x)
  311. gnuplot> set terminal postscript
  312. Terminal type set to 'postscript'
  313. Options are 'landscape monochrome "Courier" 14'
  314. gnuplot> set output "sin.ps"
  315. gnuplot> replot
  316. gnuplot> set output                      # set output back to default
  317. gnuplot> set terminal x11                # ditto for terminal type
  318. gnuplot> ! lp -ops sin.ps                # print ps - File (site dependent)
  319. request id is lprint-3433 (standard input)
  320. lp: printed file sin.ps on fg20.rz.uni-karlsruhe.de (5068 Byte)
  321. !
  322. gnuplot>
  323.  
  324. Q3.3: How do I include my graphs in <word processor>?
  325.  
  326. Basically, you save your plot to a file in a format your word processor
  327. can understand (using "set term" and "set output", see above), and then
  328. you read in the plot from your word processor.
  329.  
  330. Details depend on the kind of word processor you use; use "set term" to
  331. get a list of available file formats.
  332.  
  333. Many word processors can use Encapsulated PostScript for graphs.  This
  334. can be generated by the 'set terminal postscript eps' command.  Most
  335. MS-DOS word processors understand HPGL (terminal type hpgl).
  336.  
  337. With TeX, it depends on what you use to print your dvi files.  If you
  338. use dvips or dvi2ps, you can use Encapsulated PostScript.  For
  339. emTeX (popular for MS-DOS), you can use emTeX, otherwise use the
  340. LaTeX terminal type, which generates a picture environment.
  341.  
  342. If nothing else helps, try using the pgm or ppm format and converting it
  343. to a bitmap format your favourite word processor can understand.  An
  344. invaluable tool for this is Jef Poskanzer's PBMPLUS package.
  345.  
  346.  
  347. Section 4:  Wanted features in gnuplot
  348.  
  349. Q4.1: Does gnuplot have hidden line removal?
  350.  
  351. Version 3.4 supports hidden line removal on all platforms except MS-DOS;
  352. use the command
  353.  
  354.     set hidden3d
  355.  
  356. If someone can solve the 64K DGROUP memory problem, gnuplot would
  357. support hidden line removal on MS-DOS as well.  Version 3.2 supports
  358. limited hidden line removal.
  359.  
  360. Q4.2: Does gnuplot support bar-charts/histograms/boxes?
  361.  
  362. Version 3.4 does.
  363.  
  364. Q4.3: Does gnuplot support multiple y-axes on a single plot?
  365.  
  366. No.
  367.  
  368. Q4.4: Can I put multiple plots on a single page?
  369.  
  370. Look at the rosendorf subdirectory in the gpcontrb distribution;
  371. if you are using PostScript output, check out mpage, which can
  372. be ftp'd from
  373.  
  374. ftp.eng.umd.edu:pub/misc/mpage-2.tar.Z
  375.  
  376. Q4.5: Can I put both data files and commands into a single file?
  377.  
  378. Alex Woo has just put out an unofficial modification for beta test,
  379. which does exactly this.  Otherwise, you might consider using Fudgit,
  380. which can do it.
  381.  
  382. Q4.6: Can I put Greek letters and super/subscripts into my labels?
  383.  
  384. You might try using the LaTeX terminal type and putting text like
  385. \alpha_{3} into it.
  386.  
  387. If you use PostScript output, you might find something in the Green
  388. subdirectory of the gpcontrb file (see Q5.3).
  389.  
  390. Q4.7: Can I do 1:1 scaling of axes?
  391.  
  392. Not easily.
  393.  
  394. Q4.8: Can I put tic marks for x and y axes into 3d plots?
  395.  
  396. There are patches to do this on prep.ai.mit.edu.
  397.  
  398.  
  399. Section 5:  Miscellaneous
  400.  
  401. Q5.1: I've found a bug, what do I do?
  402.  
  403. First, try to see whether it actually is a bug, or whether it is a feature
  404. which may be turned off by some obscure set - command.  If you have a
  405. fairly general sort of bug report, posting to comp.graphics.gnuplot is
  406. probably the way to go.  If you have investigated a problem in detail,
  407. especially if you have a context diff that fixes the problem, please
  408. e-email a report to bug-gnuplot@dartmouth.edu.  The bug-gnuplot list
  409. is for reporting and collecting bug fixes, the comp.graphics.gnuplot
  410. mailing list will be more help for finding work arounds or actually
  411. solving gnuplot related problems.  If you do send in a bug report, be
  412. sure and include the version of gnuplot (including patchlevel), terminal
  413. driver, operating system, an exact description of the bug and input
  414. which can reproduce the bug.  Also, any context diffs should be
  415. referenced against the latest official version of gnuplot if at all
  416. possible.
  417.  
  418. Q5.2: Can I use gnuplot routines for my own programs?
  419.  
  420. Yes.  John Campbell <jdc@nauvax.ucc.nau.edu> has written gplotlib, a
  421. version of gnuplot as C subroutines callable from a C program.  This is
  422. available as gplotlib.tar.Z on the machine ftp.nau.edu in the directory
  423. /pub/gplotlib.tar.Z.  It is also included in the gpcontrb distribution
  424. in the campbell subdirectory.
  425.  
  426. Q5.3: What extensions have people made to gnuplot?  Where can I get them?
  427.  
  428. [This is still hazy; please check this out and see whether it is correct.
  429. Ed.]
  430.  
  431. Extensions have been put into the file gpcontrb.tar.z, which is
  432. available with the 3.4 release, from the same places you can
  433. download the main distribution from.
  434.  
  435. Note that it is 3.5 megabytes and compressed using gzip.  The gzip
  436. program is available from everywhere where you can find GNU software.
  437. The main distribution site is prep.ai.mit.edu [18.71.0.38], in the
  438. directory /pub/gnu.
  439.  
  440. It contains the following subdirectories:
  441.  
  442. bigler subdirectory:
  443.         From: bigler@cicg-calcul.grenet.fr
  444.         Subject: Multiple plots from a Fortran program
  445. budelsky subdirectory:
  446.         From: budelsky@haegar.ikp.uni-koeln.de
  447.         Subject: This is the information file for porting gnuplot 3.2
  448.                 to OS-9/68000
  449. byrne subdirectory:
  450.         From: "Margaret R. Byrne" <mrb2j@kelvin.seas.virginia.edu>
  451.         Subject: congp3d3 preprocessor to draw contour plots on
  452.                 irregular regions.
  453. clark subdirectory:
  454.         From: Michael Clark <clarkmp@prony.Colorado.EDU>
  455.         Subject: data filtering: adds point_skip & point_offs
  456. clift subdirectory:
  457.         From: ssclift@neumann.uwaterloo.ca (Simon Clift)
  458.         Subject: Re: Running gnuplot from Fortran, (and C)
  459. green subdirectory:
  460.         From: Roque Donizete de Oliveira <oliveria@engin.umich.edu>
  461.         Subject: PostScript Greek symbols in gnuplot, new prologue
  462. hanna subdirectory:
  463.         From: gregor@kafka.saic.com (gregg hanna)
  464.         Subject: x11-library mode, gnulib_x11.[c,h], xlibtest.c,makefile.xlib
  465. klosowski subdirectory:
  466.         From:   Carsten Steger <stegerc@informatik.tu-muenchen.de>
  467.         Subject: New file "klein.dat"
  468.         From: przemek@rrdstrad.nist.gov (Przemek Klosowski)
  469.         Subject: calling gnuplot from Fortran
  470. kocaturk subdirectory:
  471.         From: mustafa@seas.smu.edu (Mustafa Kocaturk)
  472.         Subject: Histograms in gnuplot
  473. richardson subdirectory:
  474.         From: amr@chiton.ucsd.edu (Tony Richardson)
  475.         Subject: Programmatic control of gnuplot from Unix
  476. rosendorf subdirectory:
  477.         From:  prf@jprix.che.wisc.edu
  478.         Subject: Multiple plots on a page
  479. vanzandt subdirectory:
  480.         From: James R. Van Zandt <jrv@mitre-bedford.ARPA>
  481.         Subject: Spline generating program
  482. white subdirectory:
  483.         From: gwhite@bionet.bio.dfo.ca
  484.         Subject: gnuplot 3.2 for Titan 3000
  485. woo subdirectory:
  486.         From: "Alex Woo" <woo@ra-next.arc.nasa.gov>
  487.         Subject: two additional title lines and fixes to errorbar style
  488. yamamoto subdirectory:
  489.         From: "NOBORU YAMAMOTO     " <sun!kekvax.kek.jp!YAMAMOTO@pixar.com>
  490.         Subject: Re: gnuplot on Apple Macintosh, "diff -c" of version 3.0
  491.                 (now includes binaries)
  492. castro subdirectory:
  493.         From: maurice@bruce.cs.monash.edu.au (Maurice Castro)
  494.         Subject: Controlling gnuplot from another Windows program
  495. grammes subdirectory:
  496.         From: ph12hucg@rz.uni-sb.de (Carsten Grammes)
  497.         Subject: Nonlinear least squares fit mechanism
  498. henke subdirectory:
  499.         From: mgr@asgard.bo.open.de (Lars Hanke)
  500.         Subject: Re: Changes to gnuplot 3.3b9
  501. walton subdirectory:
  502.         From: dwalton@athena.mit.edu (Dave Walton)
  503.         Subject: Inter Process Communication stuff
  504.  
  505. Q5.4: Can I do heavy - duty data processing with gnuplot?
  506.  
  507. Gnuplot alone is not suited very well for this.  One thing you might try
  508. is fudgit, an interactive multi-purpose fitting program written by
  509. Martin-D. Lacasse (isaac@frodo.physics.mcgill.ca).  It can use gnuplot
  510. as its graphics back end and is available from ftp.physics.mcgill.ca
  511. in /pub/Fudgit/fudgit_2.33.tar.Z [132.206.9.13], and from the main Linux
  512. server, tsx-11.mit.edu [18.172.1.2] and its numerous mirrors around the
  513. world as /pub/linux/sources/usr.bin/fudgit-2.33.tar.z.  Versions are
  514. available for AIX, Data General, HP-UX, IRIX 4, Linux, NeXT, Sun3, Sun4,
  515. Ultrix, OS/2 and MS-DOS.  The MS-DOS version is available on simtel20
  516. and mirrors in the "math" subdirectory as fudg_231.zip.
  517.  
  518. Carsten Grammes has written a fitting program which goes together
  519. with gnuplot; it is called gnufit and is available from ftp.uni-kl.de
  520. [131.246.9.95] from the directory /pub/gnu/gnufit as gnufit10.tar.gz
  521. or gft10dos.zip.
  522.  
  523. You might also want to look at the applications developed by the
  524. Software Tools Group (STG) at the National Center for Supercomputing
  525. Applications.  Ftp to ftp.ncsa.uiuc.edu [141.142.20.50] and get the
  526. file README.BROCHURE for more information.
  527.  
  528. Q5.5: I have ported gnuplot to another system, or patched it.  What do I do?
  529.  
  530. If your patch is small, mail it to bug-gnuplot@dartmouth.edu, with
  531. a thorough description of what the patch is supposed to do, which version
  532. of gnuplot it is relative to, etc.  Please don't mail it to the FAQ
  533. maintainer.
  534.  
  535. If your modifications are extensive (such as a port to another system),
  536. upload your modifications to dartmouth.edu:/pub/dropoff.  Please drop a
  537. note to David.Kotz@dartmouth.edu, the maintainer of the gnuplot
  538. subdirectory there, plus a note to bug-gnuplot@dartmouth.edu.
  539.  
  540.  
  541. Section 6: Making life easier
  542.  
  543. Q6.1: How do I plot two functions in non - overlapping regions?
  544.  
  545. Use a parametric plot.  An example:
  546.  
  547. set parametric
  548. a=1
  549. b=3
  550. c=2
  551. d=4
  552. x1(t) = a+(b-a)*t
  553. x2(t) = c+(d-c)*t
  554. f1(x) = sin(x)
  555. f2(x) = x**2/8
  556. plot [t=0:1] x1(t),f1(x1(t)) title "f1", x2(t), f2(x2(t)) title "f2"
  557.  
  558. Q6.2: How do I run my data through a filter before plotting?
  559.  
  560. If your system supports the popen() - function, as Unix does, you should
  561. be able to run the output through another process such as a short awk
  562. program (use the "help plot datafile" command for an example).
  563. Unfortunately, in 3.2, there is a rather short limitation on the maximum
  564. argument length, so your command line may be truncated (usually, this
  565. will mean that awk cannot find the filename).  Also, you may need to
  566. escape the $ - characters in your awk programs.
  567.  
  568. Version 3.4 includes the thru - keyword for the plot command for running
  569. data files through a gnuplot - defined function.
  570.  
  571. Q6.3: How do I make it easier to use gnuplot with LaTeX?
  572.  
  573. There is a set of LaTeX macros and shell scripts that are meant to
  574. make your life easier when using gnuplot with LaTeX.  This package can
  575. be found on dartmouth.edu [129.170.16.4] in pub/gnuplot/latex.shar, by
  576. David Kotz.  For example, the program "plotskel" can turn a
  577. gnuplot-output file plot.tex into a skeleton file skel.tex, that has
  578. the same size as the original plot but contains no graph.  With the
  579. right macros, the skeleton can be used for preliminary LaTeX passes,
  580. reserving the full graph for later passes, saving tremendous amounts
  581. of time.
  582.  
  583. Q6.4: How do I save and restore my settings?
  584.  
  585. Use the "save" and "load" commands for this; see "help save" and
  586. "help load" for details.
  587.  
  588.  
  589. Section 7: Known problems
  590.  
  591. Q7.1: Gnuplot is not plotting any points under X11!  How come?
  592.  
  593. Very probably, you still are using an old version of gnuplot_x11.
  594. Remove that, then do a full installation.
  595.  
  596. Q7.2: My isoline data generated by a Fortran program is not handled
  597.         correctly.  What can I do?
  598.  
  599. One known cause for this is the use of list - directed output (as in
  600. WRITE (10,*) for generating blank lines.  Fortran uses ASA carriage
  601. control characters, and for list - directed output this results
  602. in a space being output before the newline.  Gnuplot does not like
  603. this.
  604.  
  605. The solution is to generate blank lines using formatted output, as in
  606. WRITE (10,'()').
  607.  
  608. Q7.3: Why does gnuplot ignore my very small numbers?
  609.  
  610. Gnuplot treats all numbers less than 1e-08 as zero, by default.  Thus,
  611. if you are trying to plot a collection of very small numbers, they may
  612. be plotted as zero.  Worse, if you're plotting on a log scale, they will
  613. be off scale.  Or, if the whole set of numbers is "zero", your range may
  614. be considered empty:
  615.  
  616. gnuplot> plot 'test1'
  617. Warning: empty y range [4.047e-19:3e-11], adjusting to [-1:1]
  618. gnuplot> set yrange [4e-19:3e-11]
  619. gnuplot> plot 'test1'
  620.                      ^
  621.          y range is less than `zero`
  622.  
  623. The solution is to change gnuplot's idea of "zero":
  624.         set zero 1e-20
  625. For more information,
  626.         help set zero
  627.  
  628.  
  629. Section 8: Credits
  630.  
  631. This list was initially compiled by John Fletcher with contributions
  632. >from Russell Lang, John Campbell, David Kotz, Rob Cunningham,
  633. Daniel Lewart and Alex Woo.  Reworked by Thomas Koenig from a draft by
  634. Alex Woo, with corrections and additions from Alex Woo, John Campbell,
  635. Russell Lang, David Kotz and many corrections from Daniel Lewart.
  636. -- 
  637. Thomas Kvnig, ig25@rz.uni-karlsruhe.de, ig25@dkauni2.bitnet
  638. The joy of engineering is to find a straight line on a double
  639. logarithmic diagram.
  640.  
  641.  
  642.